PHP to achieve large image automatically reduced to small map (and GD library installation)
UB 2001.10.11
I think the biggest difference between network programming and ordinary programming is that network programming, in addition to the
I think the biggest difference between network programming and general programming is that in addition to having the characteristics of general programming, network programming also takes a lot of energy to consider the speed issue. There are a lot
For ease of installation, I wrote about the GD installation process. I hope my friends will give me more comments. thank you! Originally, GD did not support WBMP, and now expanded GD to support WBMP.
Use php to support gif, jpeg, ttf, and wbmp
For
In PHP, there are some simple image functions can be used directly, but most of the images to be processed, you need to compile PHP in addition to the GD library. In addition to installing the GD library, additional libraries may be required in PHP,
Apache|mysql|php5
Linux to configure the APACHE2.0.50+PHP5.0.3+MYSQL4.0.20+GD library a few days ago, upgrade the server, because of the GD library. Make no PHP4.3.8 so it's a step by step PHP5
In fact, the installation steps and PHP4 only a
In Linux, configure APACHE2.0.55 + PHP5.1.1 + MYSQL5.0.16 + GD library-Linux Enterprise Application-Linux server application information. For more information, see the following. Configure APACHE2.0.55 + PHP5.1.1 + MYSQL5.0.16 + GD library in redhat
GD Library Use Summary---2,GD summary---2
Then the previous article. GD Library can toss a lot of usage out, of course, with drawing related, in addition to the previous verification code, watermark, can also be scaled image, cutting, rotation and
The GD library is actually made up of 5 components.Which of the 5 (the GIF has been removed, or 6).Zlib jpeg6 libpng FreeType libxml2 are composed of these 5 components. Each component I will explain its role.Zlib is actually related to the above
First, the preparatory work:
1, the installation of good
2, ready to use the software, I used the specific following:
PHP V5.2.1 for Windows
Http://www.skycn.com/soft/516.html
MySQL for Windows V5.2 Alpha
How can I use the gd library of php to draw a rough diagonal line that is anti-Sawtooth? For example, the fill map drawn by polygon is jagged. The imageantialias function is invalid ., The image antialias feature is useful when the bitmap is jagged,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.